//
//  UIsharePopoverListView.h
//  UIsharePopoverListViewDemo
//
//  Created by su xinde on 13-3-13.
//  Copyright (c) 2013年 su xinde. All rights reserved.
//

@class UIsharePopoverListView;

@protocol UIsharePopoverListViewDelegate <NSObject>
@optional

- (void)popoverListView:(UIsharePopoverListView *)popoverListView
     didSelectIndexPath:(NSIndexPath *)indexPath;


@end


@interface UIsharePopoverListView : UIView <UITableViewDataSource, UITableViewDelegate>
{
    UITableView *_listView;
    UILabel     *_titleView;
    UIControl   *_overlayView;
    
 
//    id<UIsharePopoverListViewDelegate>   _delegate;
    
}


@property (nonatomic, assign) id<UIsharePopoverListViewDelegate>   delegate;

@property (nonatomic, retain) UITableView *listView;

- (void)setTitle:(NSString *)title;

- (void)show;
- (void)dismiss;

@end
